(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/dos.h>
STRPTR FGets()
SYNOPSIS
BPTR fh
STRPTR buf
ULONG buflen
LOCATION
In DOSBase at offset 56
FUNCTION
Read until NEWLINE (\n), EOF is encountered or buflen-1 characters have been read. If a NEWLINE is read, it will be the last character in the buffer. The buffer will always be \0-terminated.
INPUTS
fh
Read buffered from this filehandle
buf
Put read chars in this buffer
buflen
The size of the buffer
RESULT
buf or NULL if the first thing read is EOF.
NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
28.02.1997 digulla
len was incremented twice
27.01.1997 ldp
Polish
10.12.1996 aros
New function
09.12.1996 aros
Added empty templates for all missing functions
Moved #include's into first column